package com.cz.video.website.domain;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.cz.video.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 播放记录表
 * </p>
 *
 * @author LLF
 * @since 2023-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("website_play_logs")
@Schema( description="播放记录表")
public class WebsitePlayLogs extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(title = "主键")
    @TableId(value = "play_log_id")
    private Long playLogId;

    @Schema(title = "视频id")
    private String videoId;

    @Schema(title = "自定义id")
    private String customId;

    @Schema(title = "播放时长")
    private Long playDuration;

    @Schema(title = "最后播放位置")
    private Long playPosition;

    @Schema(title = "ip地址")
    private String ip;

    @Schema(title = "省份名称")
    private String province;

    @Schema(title = "城市名称")
    private String city;

    @TableLogic
    @Schema(title = "来源域名")
    private String referer;


}
